﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_En.aspx.cs" Inherits="FOBVT.Web.FOBVT2011.en.login_En" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- InstanceBegin template="/Templates/normal_en.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- InstanceBeginEditable name="doctitle" -->
	<title>FOBTV</title>
	<link href="../images/main.css" rel="stylesheet" type="text/css" media="screen" />
	<script type="text/javascript" src="../Scripts/jquery-1.4.js"></script>
	<script type="text/javascript">

	    //验证邮箱，正确返回true，错误返回false
	    function CheckEmail(email) {
	        var reg = /(\S)+[@]{1}(\S)+[.]{1}(\w)+/;
	        var myreg = new RegExp(reg);
	        if (!myreg.test(email)) {
	            return false;
	        }
	        else {
	            return true;
	        }
	    }

	    function Validate() {
	        var email = $("#<%=txtEmail.ClientID %>").val();
	        if (email == "") {
	            alert(" Email cannot be empty!");
	            return false;
	        }

	        var password = $("#<%=txtPassword.ClientID %>").val();
	        if (password == "") {
	            alert(" Password cannot be empty!");
	            return false;
	        }

	        if (!CheckEmail(email)) {
	            alert("Email format is incorrect!");
	            return false;
	        }
	    }

	</script>

<link href="../images/main.css" rel="stylesheet" type="text/css" media="screen" />
</head>

<body>
   <form id="form1" runat="server">
<div class="container">
  <div class="header"><!-- InstanceBeginEditable name="logo" -->
    <h1 class="logo">FOBTV</h1>
      <!-- InstanceEndEditable -->
       <div id="DivLogin" runat="server">
                <div class="headerRightContainer">
                  <a class="loginBtn" href="login_En.aspx">Login</a> <a class="regBtn" href="registration.aspx">Registration</a></div>
                <div class="fobLang"><img src="images/blank.gif"  class="icoLang"/><a href="../index_cn.aspx">中文</a></div>
              </div>

        <div id="DivLogOut" runat="server">
                <div class="fobLang"><img src="images/blank.gif"  class="icoLang"/><a href="../index_cn.aspx">中文</a></div>
            	<div class="welcomeInfo"><span><asp:Label ID="LabelWelcome" runat="server" /></span><span class="inlineSplit">|</span><asp:LinkButton  CssClass="regBtn" ID="BtnLogout" runat="server"  OnClick="Logut_Click"
                        OnClientClick="return confirm('Do you want to log out of FOBTV?');">LogOut</asp:LinkButton><span class="inlineSplit">|</span><asp:LinkButton  CssClass="regBtn" ID="BtnFOBTV" runat="server"  OnClick="BtnFOBTV_Click">My FOBTV2011</asp:LinkButton></div>
              </div>
  </div>
  <div class="tobBanner"> 
    <!--fob banner here--> 
   <img src="../images/FOBTV_banner.png" />
  </div>
  <div class="main"> 
    <div class="rightContainer"><!-- InstanceBeginEditable name="mainContent" -->
            <div class="fobPanel loginPanel">
            <div class="fobPanelTitle">
            	<h3>Login</h3>
                </div>
					<div class="fobPanelContainer">
						<p>
							<label>
								E-mail:</label><span>
									<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
								</span>
						</p>
						<p>
							<label>
								Password:</label><span>
									<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
								</span>
						</p>
						<div class="fobFormBtnContainer">
							<span class="fobBtn">
								<asp:Button ID="btnLogin" runat="server" Text="Login" OnClientClick="return Validate();"
									OnClick="btnLogin_Click" />
							</span><span><a href="registration.aspx">I don't have an account, go to registration.</a></span>
						</div>
					</div>
        </div>
    <!-- InstanceEndEditable --> </div>
  <div class="clear"></div>
  </div>
  
  
</div>
<div class="footer">
<div class="footerInner">
  <div class="footerRelated">
  	<h5>Internatinal founding organization</h5>
    <div class="fobLogos">

            <a href="http://www.nercdtv.org/" target="_blank"><img src="../images/flogo_1.gif" /></a>
            <a href="http://www.atsc.org/cms/" target="_blank"><img src="../images/flogo_2.gif" /></a>
            <a href="http://www.crc.gc.ca/en/html/crc/home/home"  target="_blank"><img src="../images/flogo_3.gif" /></a>
            <a href="http://www.dvb.org/"  target="_blank"> <img src="../images/flogo_4.gif" /></a>
            <a href="http://www.ebu.ch/"  target="_blank"><img src="../images/flogo_5.gif" /></a>
            <a href="http://www.ieee.org/index.html"  target="_blank"><img src="../images/flogo_6.gif" /></a>
            <a href="http://www.nab.org/"  target="_blank"> <img src="../images/flogo_7.gif" /></a>
            <a href="http://www3.nhk.or.jp/nhkworld/ "  target="_blank"><img src="../images/flogo_8.gif" /></a>
            <a href="http://www.etri.re.kr/eng/"  target="_blank"><img src="../images/flogo_9.gif" /></a>
            <a href="http://www.pbs.org/"  target="_blank"><img src="../images/flogo_10.gif" /></a>
            <a href="http://redeglobo.globo.com/"  target="_blank"><img src="../images/flogo_11.gif" /></a></div>
        <h5>Supporting organization</h5>
        <div class="fobLogos">
        <a href="http://www.ciif-expo.com/"  target="_blank"> <img src="../images/slogo_1.gif" /></a>                   
        <a href="http://www.sjtu.edu.cn/"  target="_blank"> <img src="../images/slogo_2.gif" /></a>
        <a href="http://www.hdigroup.net/"  target="_blank"> <img src="../images/slogo_13.gif" /></a>
        <a href="http://www.smg.cn/"  target="_blank"><img src="../images/slogo_3.gif" /></a>
        <a href="http://www.smeg.com/"  target="_blank"><img src="../images/slogo_4.gif" /></a>
        <a href="#"><img src="../images/slogo_5.gif" /></a>
        <a href="http://www.bbef.com/" target="_blank"><img src="../images/slogo_6.gif" /></a>
        <a href="http://www.hisense.com/index.html" target="_blank"><img src="../images/slogo_7.gif" /></a>
        <a href="http://cn.changhong.com/" target="_blank"><img src="../images/slogo_8.gif" /></a>
        <a href="http://www.haier.com/cn/" target="_blank"><img src="../images/slogo_9.gif" /></a>
        <a href="http://www.tcl.com/" target="_blank"><img src="../images/slogo_10.gif" /></a>
        <a href="http://www.bbef.com/" target="_blank"><img src="../images/slogo_11.gif" /></a>
        <a href="http://www.skyworth.com/cn/" target="_blank"><img src="../images/slogo_12.gif" /></a>
                      
    </div>
    </div>
    <div class="copyright">
    	Future of broadcast televesion summit, 2011.
    </div>
    </div>
  </div>
  </form>
</body>
<!-- InstanceEnd --></html>

